<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <ui:page binding="#{excepcionesPoliticas_1.page1}" id="page1">
            <ui:html binding="#{excepcionesPoliticas_1.html1}" id="html1">
                <ui:head binding="#{excepcionesPoliticas_1.head1}" id="head1">
                    <ui:link binding="#{excepcionesPoliticas_1.link1}" id="link1" url="/resources/stylesheet.css"/>
                </ui:head>
                <ui:body binding="#{excepcionesPoliticas_1.body1}" focus="form1:tipoSolicitudDropDown" id="body1" style="-rave-layout: grid">
                    <ui:form binding="#{excepcionesPoliticas_1.form1}" id="form1">
                        <div style="position: absolute; left: 0px; top: 0px">
                            <jsp:include page="encab1.jspf"/>
                        </div>
                        <ui:button action="#{excepcionesPoliticas_1.button1_action}" binding="#{excepcionesPoliticas_1.button1}" id="button1" mini="true"
                            primary="true" style="height: 15px; left: 49px; top: 128px; position: absolute; width: 61px" text="Cerrar"/>
                        <ui:button action="#{excepcionesPoliticas_1.consultar_action}" binding="#{excepcionesPoliticas_1.consultar}" id="consultar" mini="true"
                            primary="true" style="height: 15px; left: 122px; top: 128px; position: absolute; width: 71px" text="Buscar"/>
                        <h:panelGrid binding="#{excepcionesPoliticas_1.gridPanel1}" columns="2" id="gridPanel1"
                            style="left: 47px; top: 170px; position: absolute" styleClass="Tab3Div" width="408">
                            <ui:label binding="#{excepcionesPoliticas_1.label7}" id="label7" text="Departamento"/>
                            <ui:dropDown binding="#{excepcionesPoliticas_1.departamentoDropDown}" id="departamentoDropDown"
                                items="#{excepcionesPoliticas_1.sct0058DataProvider.options['SCT0058.CDGODPRTMNTO,SCT0058.NMBREDPRTMNTO']}"
                                onChange="common_timeoutSubmitForm(this.form, 'departamentoDropDown');" style="width: 220px" valueChangeListener="#{excepcionesPoliticas_1.departamentoDropDown_processValueChange}"/>
                            <ui:label binding="#{excepcionesPoliticas_1.label5}" id="label5" text="Ciudad"/>
                            <ui:dropDown binding="#{excepcionesPoliticas_1.ciudadDropDown1}" id="ciudadDropDown1"
                                items="#{excepcionesPoliticas_1.sct0059DataProvider.options['SCT0059.CDGOCDAD,SCT0059.NMBRECDAD']}"
                                onChange="common_timeoutSubmitForm(this.form, 'ciudadDropDown1');" style="width: 221px" valueChangeListener="#{excepcionesPoliticas_1.ciudadDropDown1_processValueChange}"/>
                            <ui:label binding="#{excepcionesPoliticas_1.label4}" for="agenciaDropDown" id="label4" text="Agencia"/>
                            <ui:dropDown binding="#{excepcionesPoliticas_1.agenciaDropDown}" id="agenciaDropDown"
                                items="#{excepcionesPoliticas_1.sct0045DataProvider.options['SCT0045.CDGOAGNCIA,SCT0045.NMBREAGNCIA']}" style="width: 220px"/>
                            <ui:label binding="#{excepcionesPoliticas_1.label1}" id="label1" text="Producto"/>
                            <ui:dropDown binding="#{excepcionesPoliticas_1.productoDropDown}" id="productoDropDown"
                                items="#{excepcionesPoliticas_1.sct0004DataProvider.options['SCT0004.CDGOPRDCTO,SCT0004.DSCRPCION']}"
                                onChange="common_timeoutSubmitForm(this.form, 'productoDropDown');" style="width: 220px" valueChangeListener="#{excepcionesPoliticas_1.productoDropDown_processValueChange}"/>
                            <ui:label binding="#{excepcionesPoliticas_1.label3}" id="label3" text="Sublinea"/>
                            <ui:dropDown binding="#{excepcionesPoliticas_1.sublineaDropDown}" id="sublineaDropDown"
                                onChange="common_timeoutSubmitForm(this.form, 'sublineaDropDown');" style="width: 221px" valueChangeListener="#{excepcionesPoliticas_1.sublineaDropDown_processValueChange}"/>
                            <ui:label binding="#{excepcionesPoliticas_1.label2}" id="label2" text="Tipo de solicitud"/>
                            <ui:dropDown binding="#{excepcionesPoliticas_1.tipoSolicitudDropDown}" id="tipoSolicitudDropDown"
                                items="#{excepcionesPoliticas_1.sct0021DataProvider.options['SCT0021.CDGOTPOSLCTUD,SCT0021.DSCRPCIONTPOSLCTUD']}"
                                onChange="common_timeoutSubmitForm(this.form, 'tipoSolicitudDropDown');" style="width: 220px" valueChangeListener="#{excepcionesPoliticas_1.tipoSolicitudDropDown_processValueChange}"/>
                            <ui:label binding="#{excepcionesPoliticas_1.label8}" id="label8" style="height: 20px; width: 90px" text="Fecha Inicial"/>
                            <ui:calendar binding="#{excepcionesPoliticas_1.finicialcalendar}" columns="10" dateFormatPattern="dd-MM-yyyy" id="finicialcalendar"/>
                            <ui:label binding="#{excepcionesPoliticas_1.label9}" id="label9" style="height: 20px; width: 90px" text="Fecha Final"/>
                            <ui:calendar binding="#{excepcionesPoliticas_1.ffinalcalendar}" columns="10" dateFormatPattern="dd-MM-yyyy" id="ffinalcalendar"/>
                            <ui:label binding="#{excepcionesPoliticas_1.label6}" id="label6" text="Usuario"/>
                            <ui:textField binding="#{excepcionesPoliticas_1.usuarioTextField}" id="usuarioTextField" style="width: 179px"/>
                        </h:panelGrid>
                        <ui:table binding="#{excepcionesPoliticas_1.table2}" clearSortButton="true" id="table2" paginateButton="true" paginationControls="true"
                            style="left: 11px; top: 467px; position: absolute; width: 1800px" title="Solicitudes bajo Excepciones" width="611"> polo&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; 
                            <script><![CDATA[
/* ----- Functions for Table Preferences Panel ----- */
/*
 * Toggle the table preferences panel open or closed
 */
function togglePreferencesPanel() {
  var table = document.getElementById("form1:table2");
  table.toggleTblePreferencesPanel();
}
/* ----- Functions for Filter Panel ----- */
/*
 * Return true if the filter menu has actually changed,
 * so the corresponding event should be allowed to continue.
 */
function filterMenuChanged() {
  var table = document.getElementById("form1:table2");
  return table.filterMenuChanged();
}
/*
 * Toggle the custom filter panel (if any) open or closed.
 */
function toggleFilterPanel() {
  var table = document.getElementById("form1:table2");
  return table.toggleTableFilterPanel();
}
/* ----- Functions for Table Actions ----- */
/*
 * Initialize all rows of the table when the state
 * of selected rows changes.
 */
function initAllRows() {
  var table = document.getElementById("form1:table2");
  table.initAllRows();
}
/*
 * Set the selected state for the given row groups
 * displayed in the table.  This functionality requires
 * the 'selectId' of the tableColumn to be set.
 *
 * @param rowGroupId HTML element id of the tableRowGroup component
 * @param selected Flag indicating whether components should be selected
 */
function selectGroupRows(rowGroupId, selected) {
  var table = document.getElementById("form1:table2");
  table.selectGroupRows(rowGroupId, selected);
}
/*
 * Disable all table actions if no rows have been selected.
 */
function disableActions() {
  // Determine whether any rows are currently selected
  var table = document.getElementById("form1:table2");
  var disabled = (table.getAllSelectedRowsCount() > 0) ? false : true;
  // Set disabled state for top actions
  document.getElementById("form1:table2:tableActionsTop:deleteTop").setDisabled(disabled);
  // Set disabled state for bottom actions
  document.getElementById("form1:table2:tableActionsBottom:deleteBottom").setDisabled(disabled);
}]]></script>
                            <ui:tableRowGroup binding="#{excepcionesPoliticas_1.tableRowGroup2}" id="tableRowGroup2" rows="10"
                                sourceData="#{excepcionesPoliticas_1.sct0022DataProvider}" sourceVar="currentRow">
                                <ui:tableColumn align="center" binding="#{excepcionesPoliticas_1.tableColumn1}" headerText="Solicitud" id="tableColumn1"
                                    sort="NMROSLCTUD" width="40">
                                    <ui:staticText binding="#{excepcionesPoliticas_1.staticText1}" id="staticText1" text="#{currentRow.value['NMROSLCTUD']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{excepcionesPoliticas_1.tableColumn4}" headerText="Sublinea" id="tableColumn4" sort="DSCRPCIONSBLNEA" width="80">
                                    <ui:staticText binding="#{excepcionesPoliticas_1.staticText4}" id="staticText4" text="#{currentRow.value['DSCRPCIONSBLNEA']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{excepcionesPoliticas_1.tableColumn2}" headerText="Tipo de Solicitud" id="tableColumn2" sort="DSCRPCIONTPOSLCTUD">
                                    <ui:staticText binding="#{excepcionesPoliticas_1.staticText2}" id="staticText2" text="#{currentRow.value['DSCRPCIONTPOSLCTUD']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{excepcionesPoliticas_1.tableColumn6}" headerText="Tipo de Mercado" id="tableColumn6" sort="DSCRPCIONMRCDO">
                                    <ui:staticText binding="#{excepcionesPoliticas_1.staticText6}" id="staticText6" text="#{currentRow.value['DSCRPCIONMRCDO']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{excepcionesPoliticas_1.tableColumn7}" headerText="Nit" id="tableColumn7" sort="NIT">
                                    <ui:staticText binding="#{excepcionesPoliticas_1.staticText7}" id="staticText7" text="#{currentRow.value['NIT']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{excepcionesPoliticas_1.tableColumn8}" headerText="Nombre" id="tableColumn8" sort="NMBRE">
                                    <ui:staticText binding="#{excepcionesPoliticas_1.staticText8}" id="staticText8" text="#{currentRow.value['NMBRE']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{excepcionesPoliticas_1.tableColumn9}" headerText="1er Apellido" id="tableColumn9" sort="PRMERAPLLDO">
                                    <ui:staticText binding="#{excepcionesPoliticas_1.staticText9}" id="staticText9" text="#{currentRow.value['PRMERAPLLDO']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{excepcionesPoliticas_1.tableColumn10}" headerText="2do Apellido" id="tableColumn10" sort="SGNDOAPLLDO">
                                    <ui:staticText binding="#{excepcionesPoliticas_1.staticText10}" id="staticText10" text="#{currentRow.value['SGNDOAPLLDO']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{excepcionesPoliticas_1.tableColumn12}" headerText="Tipo" id="tableColumn12" sort="ESTADOCLI">
                                    <ui:staticText binding="#{excepcionesPoliticas_1.staticText12}" id="staticText12" text="#{currentRow.value['ESTADOCLI']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{excepcionesPoliticas_1.tableColumn13}" headerText="Causa de Rechazo" id="tableColumn13"
                                    sort="DSCRPCIONCSA" width="150">
                                    <ui:staticText binding="#{excepcionesPoliticas_1.staticText13}" id="staticText13" text="#{currentRow.value['DSCRPCIONCSA']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{excepcionesPoliticas_1.tableColumn14}" headerText="Variable" id="tableColumn14" sort="NMBREVRBLE" width="150">
                                    <ui:staticText binding="#{excepcionesPoliticas_1.staticText14}" id="staticText14" text="#{currentRow.value['NMBREVRBLE']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{excepcionesPoliticas_1.tableColumn15}" headerText="V/lor Politica" id="tableColumn15" sort="VALORFINALMDLO">
                                    <ui:staticText binding="#{excepcionesPoliticas_1.staticText15}" id="staticText15" text="#{currentRow.value['VALORFINALMDLO']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn align="center" binding="#{excepcionesPoliticas_1.tableColumn16}" headerText="Condicion" id="tableColumn16" sort="VLRCNDCION">
                                    <ui:staticText binding="#{excepcionesPoliticas_1.staticText16}" id="staticText16" text="#{currentRow.value['VLRCNDCION']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{excepcionesPoliticas_1.tableColumn17}" headerText="V/lor Solicitud" id="tableColumn17" sort="VALORFINALSLCTUD">
                                    <ui:staticText binding="#{excepcionesPoliticas_1.staticText17}" id="staticText17" text="#{currentRow.value['VALORFINALSLCTUD']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn align="center" binding="#{excepcionesPoliticas_1.tableColumn18}" headerText="Resultado" id="tableColumn18"
                                    sort="CASE" width="40">
                                    <ui:staticText binding="#{excepcionesPoliticas_1.staticText18}" id="staticText18" text="#{currentRow.value['CASE']}"/>
                                </ui:tableColumn>
                            </ui:tableRowGroup>
                            <f:facet name="actionsTop">
                                <ui:button action="#{excepcionesPoliticas_1.imprimirconsulta_action}" binding="#{excepcionesPoliticas_1.imprimirconsulta}"
                                    id="imprimirconsulta" mini="true" primary="true" style="height: 15px; left: 209px; top: 128px; width: 113px" text="Generar Reporte &gt;"/>
                            </f:facet>
                        </ui:table>
                        <ui:alert binding="#{excepcionesPoliticas_1.alert1}" id="alert1" style="left: 500px; top: 167px; position: absolute; width: 214px"/>
                        <ui:messageGroup binding="#{excepcionesPoliticas_1.messageGroup1}" id="messageGroup1" style="left: 456px; top: 240px; position: absolute"/>
                        <ui:hiddenField binding="#{excepcionesPoliticas_1.hiddenField2}" id="hiddenField2"/>
                        <ui:hiddenField binding="#{excepcionesPoliticas_1.hiddenField1}" id="hiddenField1"/>
                    </ui:form>
                </ui:body>
            </ui:html>
        </ui:page>
    </f:view>
</jsp:root>
